/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package se.sll.service.catalogue.common.rest.response;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Data;

/**
 *
 * @author khaleddaham
 */
@Data
@SuppressWarnings("PMD.UnusedPrivateField")
@XmlRootElement(name = "code")
@XmlAccessorType(XmlAccessType.FIELD)
public class CodeResponse {
    @NotNull
    private String code;
    @NotNull
    private String displayName;
    private String description;
    @NotNull
    private String oid;
}
